package com.ruoyi.business.domain.statistics;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 通用统计信息-带小数
 *
 * @author YW
 * @create 2021/6/30
 */
public class StatisticsBigDecimalBO extends StatisticsBO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String code;

    private String value;

    private BigDecimal count;

    public StatisticsBigDecimalBO() {

    }

    public StatisticsBigDecimalBO(String code, String value) {
        this.code = code;
        this.value = value;
        this.count = BigDecimal.ZERO;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public void setValue(String value) {
        this.value = value;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "StatisticsIntBO{" +
                "code='" + code + '\'' +
                ", value='" + value + '\'' +
                ", count=" + count +
                '}';
    }
}
